package org.spark.pojo;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2023/2/23 21:04
 */
public class NutUserEnity {

    private Long id;

    private String username;

    private String password;

    private String email;

    private int isAdmin;

    private Long tel;

    private String realName;

    private String remarks;

    private boolean status;
    private Integer delFlag;

    public NutUserEnity() {
    }

    public NutUserEnity(Long id, String username, String password, String email, int isAdmin, Long tel, String realName, String remarks, boolean status, Integer delFlag) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.email = email;
        this.isAdmin = isAdmin;
        this.tel = tel;
        this.realName = realName;
        this.remarks = remarks;
        this.status = status;
        this.delFlag = delFlag;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(int isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Long getTel() {
        return tel;
    }

    public void setTel(Long tel) {
        this.tel = tel;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "NutUserEnity{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", isAdmin=" + isAdmin +
                ", tel=" + tel +
                ", realName='" + realName + '\'' +
                ", remarks='" + remarks + '\'' +
                ", status=" + status +
                ", delFlag=" + delFlag +
                '}';
    }
}
